#! /bin/sh
#
# $Id$
#

if [ $2 != "POST-INSTALL" ]; then
	exit 0
fi

ETC_CRONTAB="/etc/crontab"

echo -n "Spamming ${ETC_CRONTAB}..."
cat >> ${ETC_CRONTAB} << EOF
# Begin periodicCron settings
# Do not touch these lines
0	*	*	*	*	root	${PKG_PREFIX}/sbin/periodicCron.sh hourly
1	3	*	*	*	root	${PKG_PREFIX}/sbin/periodicCron.sh daily
15	4	*	*	6	root	${PKG_PREFIX}/sbin/periodicCron.sh weekly
30	5	1	*	*	root	${PKG_PREFIX}/sbin/periodicCron.sh yearly
# End periodicCron settings
EOF
echo " Done."
